package com.woniu.platform.service;

import com.woniu.platform.entity.PlatformOrderForm;
import com.woniu.util.utils.HttpResult;
import com.woniu.util.utils.RequestResult;

public interface PlatformOrderFormService {
    /**
     * 生成订单
     * @param platformOrderForm
     * @return
     */
    HttpResult insertOrderFormAc(PlatformOrderForm platformOrderForm);

    /**
     * 处理订单
     * @param platformOrderForm
     * @return
     */
    HttpResult updateOrderForm(PlatformOrderForm platformOrderForm);

    /**
     * 查询订单
     */
    HttpResult queryOrderForm(RequestResult<PlatformOrderForm> requestResult);

    /**
     * 根据用户id查询订单
     */
    HttpResult queryOrderFormByCustomerId(String customerId);
}
